package org.pp.miniapp.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class CartSet {

    @Schema(description = "购物车id")
    private Long cartId;

    @Schema(description = "数量")
    @NotNull(message = "数量不为空")
    private Integer amount;
}
